package com.lry.triTree;

/**
 * @author JiangJie
 * @create 2020-12-09 11:30
 */
public class UserNode {
    Integer id;
    String path;
    Integer parentId;
    public UserNode(){}

    public UserNode(Integer id, Integer parentId) {
        this.id = id;
        this.parentId = parentId;
    }

    public UserNode(Integer id, String path, Integer parentId) {
        this.id = id;
        this.path = path;
        this.parentId = parentId;
    }

    @Override
    public String toString() {
        return "UserNode{" +
                "id=" + id +
                ", path='" + path + '\'' +
                ", parentId=" + parentId +
                '}';
    }
}
